x11: Use gdk_event_set_device() consistently
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 14 Dec 2015 19:24:40 +0000 (20:24 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 14 Dec 2015 23:16:15 +0000 (00:16 +0100)
commit6e8d5f70db0b3570abd34d0aa991cefaec51c5ce
tree77074fee07270d4f3b251047ee06ffaefaedc121
parentda6d52711a408283e8cbaf9f58be52e4822f971d
x11: Use gdk_event_set_device() consistently

Move the variable definitions above the function, and use those
throughout all branches of the event handling switch.
gdk/x11/gdkdevicemanager-xi2.c